package com.team.recruitment_management_system.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.team.recruitment_management_system.pojo.dto.hr.HrPageQuery;
import com.team.recruitment_management_system.pojo.entity.Hr;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.team.recruitment_management_system.pojo.vo.HrInfoVo;
import org.apache.ibatis.annotations.Mapper;

/**
* @author 86147
* @description 针对表【hr(HR表)】的数据库操作Mapper
* @createDate 2024-03-21 20:28:40
* @Entity com.team.recruitment_management_system.pojo.entity.Hr
*/
@Mapper
public interface HrMapper extends BaseMapper<Hr> {

    HrInfoVo getHrInfoById(int hrId);

    IPage<HrInfoVo> getHrInfoPage(Page<Hr> hrPage, HrPageQuery hrPageQuery);

    HrInfoVo getHrInfoByUserId(Integer userId);
}




